package com.piggy.sys.mapper.base;

import com.piggy.common.core.web.page.BaseMapperPlus;
import com.piggy.sys.api.vo.BaseAddressVo;
import com.piggy.sys.domain.base.BaseDistrict;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 县/区
 */
public interface BaseDistrictMapper extends BaseMapperPlus<BaseDistrict> {

    BaseAddressVo getDistrictVo(@Param("districtId")String districtId);

    List<BaseAddressVo> getDistrictMap(@Param("districtIds") List<String> districtIds);
}
